package com.shujia.wyh.day12.homework.car;

public class Test4 {
    public static void main(String[] args) {
        Car car = new Car();
        car.start();
        car.stop();
        System.out.println("========================");
        PrivateCar privateCar = new PrivateCar("奔驰", "皖A4519E", "武大郎");
        privateCar.start();
        privateCar.stop();
        System.out.println("========================");
        Taxi taxi = new Taxi("出租车", "京B123", "景顺出租车公司");
        taxi.start();
        taxi.stop();
    }
}
